package com.dingup.homework.enums;

/**
 * Created by wancheng on 2018/11/8.
 */
public enum HomeworkStatusEnum {
    //未布置
    WAITING("WAITING", "未布置"),
    //已布置
    ASSIGN("ASSIGN", "已布置"),
    //已归档
    FINISHED("FINISHED", "已归档"),
    //已批改
    CORRECTED("CORRECTED", "已批改"),
    //未批改
    UNCORRECTED("UNCORRECTED", "未批改"),
    //未完成
    UNFINISHED("UNFINISHED", "未完成");

    private final String code;
    private final String des;

    HomeworkStatusEnum(String code, String des) {
        this.code = code;
        this.des = des;
    }

    public String getCode() {
        return code;
    }

    public String getDes() {
        return des;
    }
}
